package cn.edu.zjx.service;

import com.management.entity.Department;

import java.util.List;

public interface DepartmentService {
    List<Department> getAllDepartments();
    
    Department getDepartmentById(Integer id);
    
    boolean addDepartment(Department department);
    
    boolean updateDepartment(Department department);
    
    boolean deleteDepartment(Integer id);
    
    List<Department> searchDepartments(String keyword);
} 